package domain;

/**
 * @author: 爱学Java 不想秃头的 KK
 * @date: 2023/7/10 15:14
 * @version: 1.0
 * @Created with IntelliJ IDEA.
 * @Description:
 */
public class Favour {
    private int id;
    private int rid; //被点赞的文章id
    private String code; //点赞人的code

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "Favour{" +
                "id=" + id +
                ", rid=" + rid +
                ", code='" + code + '\'' +
                '}';
    }
}
